package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 紧急通知对象 jinjitongzhi
 *
 * @author ruoyi
 * @date 2022-09-05
 */
public class Jinjitongzhi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 标题 */
    @Excel(name = "标题")
    private String biaoti;

    /** 简介 */
    @Excel(name = "简介")
    private String jianjie;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fabushijian;

    /** 封面 */
    @Excel(name = "封面")
    private String fengmian;

    /** 内容 */
    @Excel(name = "内容")
    private String neirong;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAddtime(Date addtime)
    {
        this.addtime = addtime;
    }

    public Date getAddtime()
    {
        return addtime;
    }
    public void setBiaoti(String biaoti)
    {
        this.biaoti = biaoti;
    }

    public String getBiaoti()
    {
        return biaoti;
    }
    public void setJianjie(String jianjie)
    {
        this.jianjie = jianjie;
    }

    public String getJianjie()
    {
        return jianjie;
    }
    public void setFabushijian(Date fabushijian)
    {
        this.fabushijian = fabushijian;
    }

    public Date getFabushijian()
    {
        return fabushijian;
    }
    public void setFengmian(String fengmian)
    {
        this.fengmian = fengmian;
    }

    public String getFengmian()
    {
        return fengmian;
    }
    public void setNeirong(String neirong)
    {
        this.neirong = neirong;
    }

    public String getNeirong()
    {
        return neirong;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("addtime", getAddtime())
                .append("biaoti", getBiaoti())
                .append("jianjie", getJianjie())
                .append("fabushijian", getFabushijian())
                .append("fengmian", getFengmian())
                .append("neirong", getNeirong())
                .toString();
    }
}
